package com.mingtang.online.adapter;

import com.mingtang.online.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * 文 件 名: NewsListAdapter
 * 创 建 人: zhangyu
 * 创建日期: 16/12/24 19:55
 * 邮   箱: yuanchong121@gmail.com
 * 修改时间：
 * 修改备注：
 */
public class TestAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    List<String> data;

    public TestAdapter(List<String> data) {

        super(R.layout.item_index, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, final String item) {

        helper.setText(R.id.text_zhi, item);
    }


}
